<template>
  <div>
    <!-- <p> {{name}}</p>
    <p> {{account}}</p>
    <ul>
      <li v-for="item in menu"
          :key="item.menuId">
        {{item.menuName}}
      </li>
    </ul> -->
    欢迎来到燧坤管理后台
  </div>
</template>
<script>
import { mapState, mapGetters } from "vuex";
export default {
  computed: {
    ...mapState({
      name: state => state.user.name,
      account: state => state.user.account
    }),
    ...mapGetters({
      menu: "menu"
    })
  }
};
</script>


